## Things to Note when Compiling the Tools

### The Development Environment

The modules in this folder were created using Visual C++ 6.0 Enterprise Edition.
STL is used, so an error will result with any compiler version before Visual C++ 5.0 SP2.

### Change the Visual C++ Settings

You must use the library created for AGB in order to compile the various converters.
For this reason, you must modify Visual C++, specifying "include" and "lib" found inside
this folder at the very top of Option-Directory-Include and Library in Visual C++.
Regarding the compilation of `prevcl` and `prevprep`: Visual C++ cannot be used
for building these because of the use of the lexical analyzing language flex,
so please execute `nmake` from the DOS prompt.

### Change Project Settings to Use the Library

Please also make the following two changes to use the library created for AGB:

- Add `libmagbx.lib` to Project - Settings - Link - General - Object/Library Modules.
- Set the alignment to 2Bytes in Project - Settings - C/C++ - Generate Code - Structure Members

AGB-06-0031-001A
© 2001 Nintendo of America Inc.